package com.softwareconstruction.paper;

/**
 * 论文基类，所有类型的论文都继承自此类
 * 该类是不可变类，确保线程安全
 */
public class Paper {
    private final String title;

    public Paper(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    @Override
    public String toString() {
        return title;
    }
}